<?php
namespace app\serverfund\validate;
use \app\manage\validate\BaseValidate;

class CurrencyFreezeLog extends BaseValidate
{

    protected $rule = [
        'user_ids' => ['length'=>'1,256'],
        'user_id' => ['integer', 'gt' => '0'],
        'app_id' => ['integer', 'gt' => '0'],
        'obj_id' => ['integer', 'gt' => '0'],
        'freeze_counts' => ['integer', 'gt' => '0'],
        'type' => ['in'=>'goods,certificate,order,system'],
        'freeze_status' => ['in'=>'0,1'],
    ];
    protected $message = [];
    protected $scene = [
        'list' => ['page', 'list_rows'],
        'listByUserIds' => ['page', 'list_rows', 'user_ids'],
        'getOneInfo' => ['user_id','app_id','type','obj_id','freeze_counts','freeze_status'],
     ];
}
